package com.zofer.study.factory.simplefactory;

/**
 * @description 简单工厂模式
 * 创建一个食物工厂，制作汉堡包，可口可乐等等
 * @date: 2020/9/29 18:27
 */
public class Main {
    public static void main(String[] args) {
        Food hamburg = FoodFactory.getFood("汉堡包");
        hamburg.make();
        System.out.println("===========================");
        Food cocacalo = FoodFactory.getFood("可口可乐");
        cocacalo.make();
    }
}
